const joi = require('joi')


// 商品名验证规则
const goodName = joi.string().required()
// 品牌
const brand = joi.string().required()
const category = joi.string().required()

// 新增商品验证规则
exports.addGoods_schema = {
    body:{
        goodName,
        brand,
        category
    }
}

